package com.jiangjiang.eshop.wms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName GoodsAllocationStock
 * @Description TODO
 * @Author jhw
 * @Date 2021/9/14 19:52
 * @Version 1.0
 **/
@Data
@TableName("wms_goods_allocation_stock")
public class WmsGoodsAllocationStock {
    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 货位id
     */
    @TableField("goods_allocation_id")
    private Long goodsAllocationId;

    /**
     * 商品sku id
     */
    @TableField("goods_sku_id")
    private Long goodsSkuId;

    /**
     * 可用库存数量
     */
    @TableField("available_stock_quantity")
    private Long availableStockQuantity;

    /**
     * 锁定库存
     */
    @TableField("locked_stock_quantity")
    private Long lockedStockQuantity;

    /**
     * 已出库库存
     */
    @TableField("output_stock_quantity")
    private Long outputStockQuantity;

    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField("gmt_modified")
    private Date gmtModified;
}
